package knn;

/**
 * 作者: LDL
 * 功能说明: knn实体
 * 创建日期: 2015/5/28
 */
public class KNNNode {

    /**
     * 标签类别
     */
    private String label;
    /**
     * 与测试点的距离
     */
    private double distance;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }
}
